package com.edwin.websitebe.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.edwin.websitebe.model.Game;
import com.edwin.websitebe.model.Order;

/**
 * @author Edwin
 */
public interface OrderMapper extends BaseMapper<Order> {

    /**
     * 获取订单
     * @param code 订单号
     * @return 订单
     */
    Order getByCode(String code);

}
